package com.zjh.common.SSE.service;

import com.zjh.common.SSE.entity.SSEDataBody;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

public interface SSEService {

   void registerSSEClient(String clientId, SseEmitter emitter);

   void sendMessagesToAll(SSEDataBody dataBody);

   void sendTimeMessages();

   String getClientId(String pageType, String type, String username, String clientIp);

   SSEDataBody paraSSEData(String clientId);
}
